package org.atlantis.grosbeak.cable.boult;

import org.atlantis.grosbeak.cable.ExceptionHandler;
import org.atlantis.grosbeak.depot.Boult;

/**
 * 异常处理器的筛选器。
 * 
 * @author <a href="mailto:seenoevil.cn@gmail.com">SeeNoEvil</a>
 * 
 */
public class ExceptionHandlerBoult implements Boult {

	public Object callback(Class<?> type) {
		return null;
	}

	public boolean filter(Class<?> type) {
		return ExceptionHandler.class.isAssignableFrom(type);
	}
}
